﻿namespace NEnsure.Builders
{
	public class DefaultBrokenRuleBuilder : IBrokenRuleBuilder
	{
		public BrokenRule Build<T>(IBusinessRule<T> rule, string propertyName, T propertyValue)
		{
			return new BrokenRule(propertyName, propertyValue, rule);
		}
	}
}
